""" -*- coding: utf-8 -*-
 @Time    : 2019/1/23 22:31
 @Author  : 木鱼
 @File    : secure.py
 @Software: PyCharm
"""

SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:root@127.0.0.1:3306/fishes'
# 设置这一项是每次请求结束后都会自动提交数据库中的变动
SQLALCHEMY_COMMIT_ON_TEARDOWN = True
SQLALCHEMY_TRACK_MODIFICATIONS = True
SECRET_KEY = 'muyu'
TOKEN_EXPIRATION = 7200
